<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

LISTE DES PRODUITS: <br>
<table border="1">
    <tr>
        <th>NOM</th>
        <th>TYPE VENTE</th>
    </tr>
    <c:forEach var="prod" items="${listProd}">
        <c:set var="type"/>
        <tr><td>
                <c:choose>
                    <c:when test="${prod.venteImmediate != null}">
                        <c:set var="type" value="Immediate" />
                    </c:when>
                    <c:otherwise>
                        <c:set var="type" value="Enchere" />
                    </c:otherwise>
                </c:choose>
        <option value="${prod.id}">${prod.nom}</td><td>vente ${type} </option>
            </tr></td>
        </c:forEach>
</table>
